#[cfg(test)]
mod tests {

    #[test]
    fn str_match() {
        let args = vec!["".to_string(),r"[\d]+".to_string(), "hello ,rust 2024,I'm jh".to_string()];
        let res = crate::core::builtin::string_match(args);
        assert_eq!(res.as_boolean(), Some(true));
    }
}